package cn.xiuxius.askbox.common.context;

public class AppContext {

    private static final ThreadLocal<String> USER_UUID = new ThreadLocal<>();

    public static void setUserUuid(String uuid) {
        USER_UUID.set(uuid);
    }

    public static String getUserUuid() {
        return USER_UUID.get();
    }

    public static void clear() {
        USER_UUID.remove();
    }

}
